<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div id="app">
        <div style="width: 500px;height:500px;background-color: cyan" @click="outclick">
            <div style="width: 200px;height:200px;background-color: crimson" @click.stop="innerclick"></div>
        </div>
    </div>
    <script src="./node_modules/vue/dist/vue.js"></script>
    <script type="text/javascript">
var vm = new Vue({
    el:"#app",
    methods:{
        outclick(){
            console.info("这是out点击事件")
        },
        innerclick(){
            console.info("这是inner点击事件")
        }
    }

})

        </script>
</body>
</html>